// samsting : this file is auto create.

#include "Rds/2014-08-15/DescribeParameterTemplatesResponse.h"

namespace aliyun { namespace Rds {

DescribeParameterTemplatesResponse::DescribeParameterTemplatesResponse() {
}

const string& DescribeParameterTemplatesResponse::TemplateRecord::GetParameterName(void) const {
  return ParameterName_;
}

const string& DescribeParameterTemplatesResponse::TemplateRecord::GetParameterValue(void) const {
  return ParameterValue_;
}

const string& DescribeParameterTemplatesResponse::TemplateRecord::GetForceModify(void) const {
  return ForceModify_;
}

const string& DescribeParameterTemplatesResponse::TemplateRecord::GetForceRestart(void) const {
  return ForceRestart_;
}

const string& DescribeParameterTemplatesResponse::TemplateRecord::GetCheckingCode(void) const {
  return CheckingCode_;
}

const string& DescribeParameterTemplatesResponse::TemplateRecord::GetParameterDescription(void) const {
  return ParameterDescription_;
}

const std::vector<DescribeParameterTemplatesResponse::TemplateRecord>& DescribeParameterTemplatesResponse::GetParameters(void) const {
  return Parameters_;
}

const string& DescribeParameterTemplatesResponse::GetEngine(void) const {
  return Engine_;
}

const string& DescribeParameterTemplatesResponse::GetEngineVersion(void) const {
  return EngineVersion_;
}

const string& DescribeParameterTemplatesResponse::GetParameterCount(void) const {
  return ParameterCount_;
}

const char* DescribeParameterTemplatesResponse::BaseKey(void) {
  return "DescribeParameterTemplatesResponse";
}

void DescribeParameterTemplatesResponse::UnmarshallerMap(std::map<string, string>& response_map) {
  int Parameters__length = 0;
  UnmarshallerInt(Parameters__length, response_map, "DescribeParameterTemplatesResponse.Parameters.Length");
  if(Parameters__length >= 0) {
    Parameters_.resize(Parameters__length);
    for(int i1 = 0; i1 < Parameters__length; i1++) {
      UnmarshallerString(Parameters_[i1].ParameterName_, response_map, "DescribeParameterTemplatesResponse.Parameters["+string_ValueOfInt(i1)+"].ParameterName");
      UnmarshallerString(Parameters_[i1].ParameterValue_, response_map, "DescribeParameterTemplatesResponse.Parameters["+string_ValueOfInt(i1)+"].ParameterValue");
      UnmarshallerString(Parameters_[i1].ForceModify_, response_map, "DescribeParameterTemplatesResponse.Parameters["+string_ValueOfInt(i1)+"].ForceModify");
      UnmarshallerString(Parameters_[i1].ForceRestart_, response_map, "DescribeParameterTemplatesResponse.Parameters["+string_ValueOfInt(i1)+"].ForceRestart");
      UnmarshallerString(Parameters_[i1].CheckingCode_, response_map, "DescribeParameterTemplatesResponse.Parameters["+string_ValueOfInt(i1)+"].CheckingCode");
      UnmarshallerString(Parameters_[i1].ParameterDescription_, response_map, "DescribeParameterTemplatesResponse.Parameters["+string_ValueOfInt(i1)+"].ParameterDescription");
    } // for(int i1 = 0; i1 < Parameters__length; i1++) {
  } // if(Parameters__length >= 0) {

  UnmarshallerString(Engine_, response_map, "DescribeParameterTemplatesResponse.Engine");
  UnmarshallerString(EngineVersion_, response_map, "DescribeParameterTemplatesResponse.EngineVersion");
  UnmarshallerString(ParameterCount_, response_map, "DescribeParameterTemplatesResponse.ParameterCount");
}


} } // namespace aliyun { namespace Rds {

// end of file 
